package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName: Video_Type
 * @Description: TODO
 * @Author: 86139
 * @Date: 2021/9/12 21:49
 * @Version:1.0
 **/
@Data
@TableName("video_type")
public class Video_Type {
    @TableId(type = IdType.AUTO)
    private Integer tid	;
    @TableField("t_name")
    private String Tname	;
    @TableField("state")
    private String state	;

    @Override
    public String toString() {
        return "Video_Type{" +
                "tid=" + tid +
                ", Tname='" + Tname + '\'' +
                ", state='" + state + '\'' +
                '}';
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTname() {
        return Tname;
    }

    public void setTname(String tname) {
        Tname = tname;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Video_Type(Integer tid, String tname, String state) {
        this.tid = tid;
        Tname = tname;
        this.state = state;
    }
}
